A feature which is a collection of items which may be added or removed.
Methods
|
|
addItem
isEmpty
isReferenced
removeItem
replaceItem
|
|
addItem
|
addItem ( self, item )
Add the item to the collection/relationship, reject if multiplicity
exceeded
|
|
isEmpty
|
isEmpty ( self )
Return true if the value is not set or collection is empty
|
|
isReferenced
|
isReferenced ( self, item )
Return true if the item is a member of the set/sequence
|
|
removeItem
|
removeItem ( self, item )
Remove the item from the collection/relationship, if present
|
|
replaceItem
|
replaceItem (
self,
oldItem,
newItem,
)
Replace oldItem with newItem in the collection; raises ValueError
if oldItem is missing
|
|